package org.jsola.hr.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.query.BaseQuery;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ModuleFieldQuery extends BaseQuery {

    private static final long serialVersionUID = 5530270006693133465L;

    @ApiModelProperty(notes = "员工id")
    @NotNull(message = "员工Id不能为null")
    private String empInfoId;

    @ApiModelProperty(notes = "公司id")
    @NotNull(message = "公司Id不能为空")
    private String companyId;

    @ApiModelProperty(notes = "模块编码")
    private String moduleCode;

    private List<String> moduleCodeList;
}
